<!-- 插件后台分类管理 -->
<style>
	.container .floattop{padding-bottom: 0;}
	.cpform thead { background: #eee;}
	.cpform th { text-align: center; border-right: 1px solid #ddd;}
	.cpform td { border-right: 1px solid #ddd; }
	.none { display: none;}
	.cpform .txt { width: 60px; }
	.cpform textarea { display: block; margin:auto;width: 95%; height: 80px; resize: both;}
</style>
<div id="nofugai">&nbsp;</div>
<form action="?action=plugins&operation=config&do={$_GET['do']}&identifier=jameson_read&pmod=jameson_read&contrl=mtopic&act=advpost"  autocomplete="off" method="post" class="cpform" name="cpform">
<h3>{lang jameson_read:guanggaodaimajinggao}</h3>
<table class="tb tb2">
<thead class="">
	<tr class="header ">
		<th class="td21">{lang jameson_read:weizhi}</th>
		<th class="td21">{lang jameson_read:kuandu}/px</th>
		<th>{lang jameson_read:guanggaodaima}</th>
	</tr>
</thead>
<tbody>
{loop $indexadv $key $adv}
	<tr class="hover threadopt">
		<td>{$adv['name']}</td>
		<td>{$adv['descro']}</td>
		<td>
			<textarea name="image[{$adv['topic_id']}]">{eval echo  htmlspecialchars(stripcslashes($adv['adv']));}
			</textarea>
		</td>
	</tr>
{/loop}
{loop $cateadv $key $adv}
	<tr class="hover threadopt">
		<td>{$adv['name']}</td>
		<td>{$adv['descro']}</td>
		<td>
			<textarea name="image[{$adv['topic_id']}]">{eval echo  htmlspecialchars(stripcslashes($adv['adv']));}</textarea>
		</td>
	</tr>
{/loop}
{loop $contentadv $key $adv}
	<tr class="hover threadopt">
		<td>{$adv['name']}</td>
		<td>{$adv['descro']}</td>
		<td>
			<textarea   name="image[{$adv['topic_id']}]" >{eval echo  htmlspecialchars(stripcslashes($adv['adv']));}
			</textarea>
		</td>
	</tr>
{/loop}
{loop $pcyueduadv $key $adv}
	<tr class="hover threadopt">
		<td>{$adv['name']}</td>
		<td>{$adv['descro']}</td>
		<td>
			<textarea  name="image[{$adv['topic_id']}]">{eval echo  htmlspecialchars(stripcslashes($adv['adv']));}
			</textarea>
		</td>
	</tr>
{/loop}
	<tr>
		<td colspan="3">
			<input type="hidden" name="formhash" value="{FORMHASH}">
			<input id="submit_editsubmit" class="btn" type="submit" value="{lang jameson_read:tijiao}" name="editsubmit">
		</td>
	</tr>
</tbody>
</table>
</form>
<script type="text/javascript" src="./source/plugin/jameson_read/template/adm.js"></script>